using Game;
using TemplatesDatabase;

namespace SCIENEW {
    public class SubsystemTerrainIE : Game.SubsystemTerrain {
        public override void Load(ValuesDictionary valuesDictionary) {
            base.Load(valuesDictionary);
            TerrainGenerationMode mode = SubsystemGameInfo.WorldSettings.TerrainGenerationMode;
            if (mode != TerrainGenerationMode.FlatContinent
                && mode != TerrainGenerationMode.FlatIsland) {
                base.TerrainContentsGenerator = new TerrainContentsGeneratorIE(this);
            }
        }
    }
}